﻿<Page x:Class="MediaLibrary.Controls.ExclusionListPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="ExclusionListPage">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="85" />
            <RowDefinition />
            <RowDefinition Height="35" />
        </Grid.RowDefinitions>

        <StackPanel>
            <Label>Media Exclusion List</Label>
            <TextBlock Margin="10,0,10,0" TextWrapping="Wrap">Shown below is the list of media that has been deleted from the Music, Video and Playlist Libraries. Remove them from the list to have them included in your media library.</TextBlock>
        </StackPanel>

        <ListBox Grid.Row="1" x:Name="excludedMediaListBox" KeyDown="excludedMediaListBox_KeyDown" Margin="10,10,10,10" SelectionMode="Extended" ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto">
            <ListBox.ContextMenu>
                <ContextMenu>
                    <MenuItem Header="Remove from Exclusion List" Click="excludedMediaListBox_Click" />
                </ContextMenu>
            </ListBox.ContextMenu>
        </ListBox>

        <Label Grid.Row="2">Select the media you want to remove the exclusion list and hit the 'Delete' key.</Label>
    </Grid>
</Page>
